package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备和aep关联数据
 * </p>
 *
 * @author zhangfei
 * @since 2022-05-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_dtu_cmp")
@ApiModel(value="DtuAep对象", description="设备和CMP关联数据")
public class DtuAep extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "设备号")
    @TableField("iMEI")
    private String iMEI;

    @ApiModelProperty(value = "aep返回设备id")
    @TableField("device_id")
    private String deviceId;

    @ApiModelProperty(value = "开通状态：1已开通 0未开通")
    @TableField("open_status")
    private Integer openStatus;

    @ApiModelProperty(value = "开通时间")
    @TableField("open_time")
    private String openTime;

    @ApiModelProperty(value = "注册状态：1已注册 0未注册")
    @TableField("register_status")
    private Integer registerStatus;

    @ApiModelProperty(value = "注册时间")
    @TableField("register_time")
    private String registerTime;

    @ApiModelProperty(value = "激活状态：1已激活 0未激活")
    @TableField("activate_status")
    private Integer activateStatus;

    @ApiModelProperty(value = "激活时间")
    @TableField("activate_time")
    private String activateTime;


}
